﻿
using Simple.EntityFramewokCore.Core.Base;
using Video.Domain.Users;

namespace Video.Domain.Videos;

/// <summary>
/// 视频表
/// </summary>
public class Video:Entity
{
    public string? Title { get; set; }
    public string? Description { get; set; }
    /// <summary>
    /// 视频地址
    /// </summary>
    public string? VideoUrl { get; set; }
    /// <summary>
    /// 分类id
    /// </summary>
    public Guid ClassifyId { get; set; }

    public Guid UserId { get; set; }

    public virtual UserInfo? User { get; set; }

    public virtual Classify? Classify { get; set; }
}
